import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {RouterModule} from '@angular/router';
import {FormsModule} from '@angular/forms';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzTagModule } from 'ng-zorro-antd/tag';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzTableModule } from 'ng-zorro-antd/table';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzDividerModule } from 'ng-zorro-antd/divider';
import { NzCarouselModule } from 'ng-zorro-antd/carousel';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzRadioModule } from 'ng-zorro-antd/radio';
import { NzUploadModule } from 'ng-zorro-antd/upload';

import { ManagerRoutingModule } from './manager-routing.module';
import { ManagerComponent } from './views/manager/manager.component';
import { ArticleCreateComponent } from './views/article-create/article-create.component';
import { ComponetViewManagerService } from '../business/componet-view-manager.service';
import { ArticlesManagerService } from './manager-business/articles-manager.service';




@NgModule({
  declarations: [
    ArticleCreateComponent,
    ManagerComponent
  ],
  imports: [
    CommonModule,
    FormsModule,
    RouterModule,
    ManagerRoutingModule,
    NzIconModule,
    NzTagModule,
    NzButtonModule,
    NzTableModule,
    NzDividerModule,
    NzCarouselModule,
    NzModalModule,
    NzRadioModule,
    NzInputModule,
    NzUploadModule
  ],
  providers: [{
    provide: ComponetViewManagerService
  }, {
    provide: ArticlesManagerService
  }]
})
export class ManagerModule { }
